#include "minIni.h"
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    minIni *ini = new minIni("config.ini");
//    ini->put("Offset","ID_07",2);
//    ini->del("Offset","ID_06");
	int i=0,j=0;
	string section,key;
	while((section=ini->getsection(i++))!=""){
		j=0;
		while((key=ini->getkey(section,j++))!="")
    		cout<<section<<"-"<<key<<":"<<ini->geti(section,key)<<endl;
    }
    return 0;
}
